{template 'header'}
<!--base target="_self"-->
<style>
td{
	text-align: center;
	white-space: normal !important;
	word-break: break-all;
}
th{
	text-align: center;
}
p{
	margin: 0
}

.account-stat-num > div{width:16.6%; float:left; font-size:16px; text-align:center;}
.account-stat-num > div span{display:block; font-size:30px; font-weight:bold;}
</style>
<div class='container' style='padding: 0 5px 10px; margin: 0; width: 100%'>
	<ul class="nav nav-tabs">
		<li class="active"><a>微信淘宝客操作中心</a></li>
		<li ><a href="javascript:">-</a></li>
		<li ><a href="{$_W['siteroot']}web/index.php?c=profile&a=module&do=setting&m=bsht_tbk" target="_self">参数设置</a></li>
		<li ><a href="{php echo $this->createWebUrl('setting');}" target="_self">系统设置</a></li>
		<li ><a href="javascript:">-</a></li>
		<li ><a href="http://pub.alimama.com/" target="_blank">【淘宝联盟】官网</a></li>
		<li ><a href="http://open.taobao.com/" target="_blank">【淘宝API】官网</a></li>
		<li ><a href="javascript:">-</a></li>
		<li ><a href="http://www.dataoke.com/" target="_blank">【大淘客】官网</a></li>
		<li ><a href="http://www.dataoke.com/%E5%A4%A7%E6%B7%98%E5%AE%A2%E5%8A%A9%E6%89%8B3.6.zip?v=12" target="_blank">点击下载【大淘客助手】</a></li>
	</ul>
	
	<div class="panel panel-info">
		<div class="panel-heading" style="background:#59a4d1"><!--数据概览--><img src="../addons/bsht_tbk/res/images/bottom_say.png"></div>
		<div class="panel-body">
			
<div style="padding:15px;background: white;margin-bottom: 10px;">
	<div class="account-stat-num row">
	    <div>全能模式商品总数<span>{$all_all}</span>- <a href="{php echo $this->createWebUrl('listitemall');}"  target="_self">管理</a> | <a href="{php echo $this->createWebUrl('listcaijiall');}"  target="_self">采集导入</a> | <a href="{php echo $this->createWebUrl('listcaijiall_jx');}"  target="_self">每日精选</a> -</div>
		<div>大淘客模式总数<span>{$all_dtk}</span>- <a href="{php echo $this->createWebUrl('listitemdtk');}"  target="_self">管理</a> | <a href="{php echo $this->createWebUrl('listdtk');}"  target="_self">采集</a> -</div>
		<div>淘宝联盟模式总数<span>{$all_tb}</span>- <a href="{php echo $this->createWebUrl('listitem');}"  target="_self">管理</a> | <a href="{php echo $this->createWebUrl('listcaiji');}"  target="_self">采集</a> -</div>
		<div>用户总数<span>{$all_user}</span>- <a href="{php echo $this->createWebUrl('listuser');}"  target="_self">管理</a> -</div>
		<div>邀请总数<span>{$all_yaoqing}</span>- <a href="{php echo $this->createWebUrl('listyaoqing');}"  target="_self">管理</a> -</div>
		<div>晒单总数<span>{$all_show}</span>- <a href="{php echo $this->createWebUrl('listshow');}"  target="_self">管理</a> -</div>
	</div>
</div>

		</div>
	</div>



	<div class="panel panel-info">
		<div class="panel-heading">快捷工具</div>
		<div class="panel-body">


{if $setting['isdtk']==2}
<div style="padding:15px;background: white;margin-bottom: 10px;">
	<div class="account-stat-num row">

<a href="javascript:;" class="btn btn-warning">当前为全能模式</a>				
&nbsp;&nbsp;


<a onclick="return confirm('该操作比较耗时，确认吗？'); return false;" href="{php echo $this->createWebUrl('yhj_all_op');}" title="删除" class="btn btn-sm btn-success"><i class="fa fa-remove"></i> 清理无效优惠券</a>
&nbsp;&nbsp;

<a onclick="return confirm('该操作比较耗时，确认吗？'); return false;" href="{php echo $this->createWebUrl('itemall_op', array('op' => 'show_none'));}" title="删除" class="btn btn-sm btn-warning"><i class="fa fa-remove"></i> 清理已下架商品</a>
&nbsp;&nbsp;

<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemall_op', array('op' => 'xiajia_daoqi'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-info"><i class="fa fa-remove"></i>  【下架】优惠券【到期】商品</a>

&nbsp;&nbsp;
				
<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemall_op', array('op' => 'del_daoqi'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-danger"><i class="fa fa-remove"></i>  【清空】优惠券【到期】 商品</a>

&nbsp;&nbsp;

<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemall_op', array('op' => 'xiajia_none'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-info"><i class="fa fa-remove"></i>  【下架】【无】优惠券商品</a>

&nbsp;&nbsp;
                
<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemall_op', array('op' => 'del_none'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-danger"><i class="fa fa-remove"></i>  【清空】【无】优惠券商品</a>
	</div>
</div>
{/if}

{if $setting['isdtk']==1}
<div style="padding:15px;background: white;margin-bottom: 10px;">
	<div class="account-stat-num row">

<a href="javascript:;" class="btn btn-warning">当前为大淘客模式</a>				
&nbsp;&nbsp;


<a onclick="return confirm('该操作比较耗时，确认吗？'); return false;" href="{php echo $this->createWebUrl('yhj_dtk_op');}" title="删除" class="btn btn-sm btn-success"><i class="fa fa-remove"></i> 清理无效优惠券</a>
&nbsp;&nbsp;

<a onclick="return confirm('该操作比较耗时，确认吗？'); return false;" href="{php echo $this->createWebUrl('itemdtk_op', array('op' => 'show_none'));}" title="删除" class="btn btn-sm btn-warning"><i class="fa fa-remove"></i> 清理已下架商品</a>
&nbsp;&nbsp;

<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemdtk_op', array('op' => 'xiajia_daoqi'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-info"><i class="fa fa-remove"></i>  【下架】优惠券【到期】商品</a>

&nbsp;&nbsp;
				
<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemdtk_op', array('op' => 'del_daoqi'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-danger"><i class="fa fa-remove"></i>  【清空】优惠券【到期】 商品</a>

&nbsp;&nbsp;

<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemdtk_op', array('op' => 'xiajia_none'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-info"><i class="fa fa-remove"></i>  【下架】【无】优惠券商品</a>

&nbsp;&nbsp;
                
<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('itemdtk_op', array('op' => 'del_none'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-danger"><i class="fa fa-remove"></i>  【清空】【无】优惠券商品</a>
	</div>
</div>
{/if}
{if $setting['isdtk']==0}
<div style="padding:15px;background: white;margin-bottom: 10px;">
	<div class="account-stat-num row">

<a href="javascript:;" class="btn btn-warning">当前为淘宝联盟模式</a>				
&nbsp;&nbsp;


<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('item_op', array('op' => 'xiajia_daoqi'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-info"><i class="fa fa-remove"></i>  【下架】优惠券【到期】商品</a>

&nbsp;&nbsp;
				
<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('item_op', array('op' => 'del_daoqi'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-danger"><i class="fa fa-remove"></i>  【清空】优惠券【到期】 商品</a>

&nbsp;&nbsp;

<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('item_op', array('op' => 'xiajia_none'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-info"><i class="fa fa-remove"></i>  【下架】【无】优惠券商品</a>

&nbsp;&nbsp;
                
<a onclick="return confirm('确认进行此操作吗？数据量大请耐心等待！'); return false;" href="{php echo $this->createWebUrl('item_op', array('op' => 'del_none'))}" title="一键清空优惠券到期商品" class="btn btn-sm btn-danger"><i class="fa fa-remove"></i>  【清空】【无】优惠券商品</a>
	</div>
</div>
{/if}






		</div>
	</div>


<div class="panel panel-info">
		<div class="panel-heading">入口一览</div>
		<div class="panel-body">
			

	
		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">首页入口</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=index&m=bsht_tbk">
				</div>
		</div>

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">专题入库</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=list_tops&m=bsht_tbk">
				</div>
		</div>

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">晒单列表</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=show_dan&m=bsht_tbk">
				</div>
		</div>	

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">我要晒单</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=show_dan&m=bsht_tbk&op=add">
				</div>
		</div>	

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">个人中心</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=uc&m=bsht_tbk">
				</div>
		</div>

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">领取海报</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=haibao&m=bsht_tbk">
				</div>
		</div>

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">兑吧入口</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=duiba&m=bsht_tbk">
				</div>
		</div>

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">系统签到</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=qiandao&m=bsht_tbk">
				</div>
		</div>

		<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">积分明细</label>
				<div class="col-sm-11">
					<input class="form-control" type="text" value="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=mc&a=bond&do=credits&credittype=credit1&type=record&period=1">
				</div>
		</div>


		</div>
	</div>



</div>
{template 'footer'}
